﻿using System;

namespace 命令模式
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("提示：。。。。。。。。"+string.Concat(args));
            var re = new Receiver();

            Command x = new ConcreteCommand(re);

            var invk = new Invoker();

            invk.SetCommand(x);
            invk.ExecuteCommand();
        }
    }
}
